<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SUOYUEの友链</title>

    <link rel="shortcut icon" th:href="@{/images/favicon.ico}" />
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css">
    <link rel="stylesheet" href="../static/css/me.css" th:href="@{/css/me.css}">
</head>
<body>

<!--导航-->
<nav class="gird-header">
    <div class="ui container">
        <div class="ui inverted secondary stackable menu">
            <h2 class="ui olive header item" style="font-family: STSong">SUOYUEのBLOG</h2>
            <a href="#" th:href="@{/}" class="m-item item m-mobile-hide"><i class="home icon"></i><span th:text="#{index.home}">首页</span></a>
            <a href="#" th:href="@{/types/-1}" class="m-item item m-mobile-hide"><i class="clone outline icon"></i><span th:text="#{index.type}">分类</span></a>
            <a href="#" th:href="@{/archives}" class="m-item item m-mobile-hide"><i class="clock icon"></i><span th:text="#{index.time}">时间轴</span></a>
            <a href="#" th:href="@{/message}" class="m-item item m-mobile-hide"><i class="book icon"></i><span th:text="#{index.messages}">留言板</span></a>
            <a href="#" th:href="@{/echarts}" class="m-item item m-mobile-hide"><i class="table icon"></i><span th:text="#{index.echarts}">数据统计</span></a>
            <a href="#" th:href="@{/friends}" class="active m-item item m-mobile-hide"><i class="pencil alternate icon"></i><span th:text="#{index.links}">友链</span></a>
            <a href="#" th:href="@{/about}" class="m-item item m-mobile-hide"><i class="info icon"></i><span th:text="#{index.me}">关于我</span></a>
            <div class="right m-item item m-mobile-hide">
                <form name="search" action="#" th:action="@{/search}" method="post" target="_blank">
                    <div class="ui icon transparent input m-margin-tb-tiny" style="color: white">
                        <input style="color: white" type="text" name="query" placeholder="Search....">
                        <i onclick="document.forms['search'].submit()" class="search link icon"></i>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!--手机端收起导航栏-->
    <a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>


<!--顶部图片-->
<div class="m-bg-type_outer" style="width: 100%;height: 40%">
    <img src="../static/images/friendsbg.jpg" th:src="@{/images/friendsbg.jpg}" alt="" class="ui m-bg image"
         style="width: 100%;height: 100%">
    <div class="m-bg-class_cover">
        <div align="center">
            <div class="ui container" align="center" style="position: relative ;bottom: -540px;">
                <div class="m-font-size-title " align="center" style="font-family:'STXingkai'">友链</div>
                <div class="m-font-size-text-init-title m-margin-top" align="center">转瞬即逝的相逢与离别，每一个瞬间，我都想要珍惜</div>
            </div>
        </div>
    </div>
</div>


<!--中间内容-->
<!--自荐-->
<div class="m-margin- animated fadeIn">
    <div class="ui m-opacity container">

        <div class="box-shadow-max">
            <div class="ui top attached teal m-opacity segment box-shadow-max">
                <div class="ui m-padded-tb-large m-container-tiny">
                    <div class="ui stackable m-container-mini m-opacity grid">
                        <div class="ui container">
                            <h1 class="" align="center" style="padding-bottom: 40px">在线资源/工具推荐系类</h1>
                        </div>

                        <!--友人帐显示区域-->
                        <div class="m-margin-tb-tiny four wide column" th:each="friendlink: ${friendlinks}"
                             th:if="${friendlink.uid}==0">
                            <a href="#" th:href="${friendlink.blogaddress}" class="class_outer" target="_blank">
                                <div align="center">
                                    <div class="friends-link">
                                        <img src="../static/images/me.jpg" alt="" class="friends-link-image"
                                             th:src="${friendlink.pictureaddress}">
                                        <div class="m-margin-top">
                                            <h4 class="m-font-size-text-friends m-margin-tb-tiny"
                                                th:text="${friendlink.blogname}">SUOYUE</h4>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>

                    </div>
                </div>
            </div>
        </div>

    </div>
</div>

<br>
<br>
<br>
<br>
<br>
<br>

<!--友链-->
<div class="m-margin- animated fadeIn">
    <div class="ui m-opacity container">
        <div class="box-shadow-max">
            <!--入帐申明-->
            <div class="ui segment m-padded-tb-large m-opacity">
                <div class="ui segment m-padded-tb-large m-opacity">
                    <h1 class="" align="center">友链入驻须知</h1>
                    <ui class="list">
                        <div class="m-margin-left-mini m-margin-tb-tiny" style="font-size: large;font-weight: bold">
                            网站要求
                        </div>
                        <br>
                        <li class="m-margin-left-big m-margin-tb-tiny" style="font-size: medium">
                            无色情内容，无政治敏感内容，网站要能长期正常访问
                        </li>
                        <li class="m-margin-left-big m-margin-tb-tiny" style="font-size: medium">
                            十篇以上个人原创文章，两个月内有新文章更新
                        </li>
                        <li class="m-margin-left-big m-margin-tb-tiny" style="font-size: medium">原创博客、技术博客、游记博客优先</li>
                        <li class="m-margin-left-big m-margin-tb-tiny" style="font-size: medium">
                            需要交换友链，先把本站添加到你的网站中，然后根据下面的格式，给我发email或在留言板给我留言~
                        </li>
                        <br>
                        <div class="m-margin-left-mini m-margin-tb-tiny" style="font-size: large;font-weight: bold">
                            申请格式
                        </div>
                        <br>
                        <li class="m-margin-left-big m-margin-tb-tiny" style="font-size: medium">博客标题：SUOYUE</li>
                        <li class="m-margin-left-big m-margin-tb-tiny" style="font-size: medium">
                            博客地址：<a href="http://suoyue.top/">http://suoyue.top/</a>
                        </li>
                        <li class="m-margin-left-big m-margin-tb-tiny" style="font-size: medium">
                            图片地址：http://suoyue.top/images/me.jpg
                        </li>
                    </ui>
                </div>
            </div>
            <!--友人帐区域-->
            <div class="ui m-padded-tb-large m-container-tiny">
                <div class="ui stackable m-container-mini m-opacity grid">

                    <!--友人帐显示区域-->
                    <div class="m-margin-tb-tiny four wide column" th:each="friendlink: ${friendlinks}"
                         th:if="${friendlink.uid}==1">
                        <a href="#" th:href="${friendlink.blogaddress}" class="class_outer" target="_blank">
                            <div align="center">
                                <div class="friends-link">
                                    <img src="../static/images/me.jpg" alt="" class="friends-link-image"
                                         th:src="${friendlink.pictureaddress}">
                                    <div class="m-margin-top">
                                        <h4 class="m-font-size-text-friends m-margin-tb-tiny"
                                            th:text="${friendlink.blogname}">SUOYUE</h4>
                                    </div>
                                </div>
                            </div>
                        </a>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>

<br>
<br>
<!--底部栏-->
<footer class="ui inverted vertical segment m-padded-tb-massive m-opacity" th:replace="_fragments :: footer">

</footer>
<!--通用script：使用div标签或thymeleaf模板的th:block-->
<th:block th:replace="_fragments :: script">

</th:block>

<script>
    $('.menu.toggle').click(function () {
        $('.m-item').toggleClass('m-mobile-hide');
    });
</script>

<!--看板娘-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css">
<script src="https://cdn.jsdelivr.net/gh/stevenjoezhang/live2d-widget/autoload.js"></script>

</body>
</html>